home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 051-075 / disk_054 / ispell / ispell.prt < prev    next >
Text File  |  1992-05-06  |  4KB  |  133 lines

  1.  
  2.  
  3.  
  4. ISPELL(local)     UNKNOWN SECTION OF THE MANUAL     ISPELL(local)
  5.  
  6.  
  7.  
  8. NAME
  9.      ispell - Correct spelling for a file
  10.  
  11. SYNOPSIS
  12.      ispell [ file | -a | -l ]
  13.  
  14. DESCRIPTION
  15.      _I_s_p_e_l_l is fashioned after the _s_p_e_l_l program from ITS (called
  16.      _i_s_p_e_l_l on Twenex systems.)  The most common usage is "ispell
  17.      filename".  In this case,  _i_s_p_e_l_l  will  display  each  word
  18.      which  does  not  appear in the dictionary, and allow you to
  19.      change it.  If there are "near  misses"  in  the  dictionary
  20.      (words  which  differ  by only a single letter, a missing or
  21.      extra letter, or a pair of transposed  letters),  then  they
  22.      are  also displayed.  If you think the word is correct as it
  23.      stands, you can type either "Space" to accept  it  this  one
  24.      time,  or  "I"  to accept it and put it in your private dic-
  25.      tionary.  If one of the near misses is the  word  you  want,
  26.      type  the  corresponding  number.  Finally, if none of these
  27.      choices is right, you can type "R" and you will be  prompted
  28.      for a replacement word.
  29.  
  30.      When a misspelled word is found, it is printed at the top of
  31.      the  screen.  Any near misses will be printed on the follow-
  32.      ing lines, and finally, two lines containing  the  word  are
  33.      printed  at  the bottom of the screen.  If your terminal can
  34.      type in reverse video, the word itself is highlighted.
  35.  
  36.      The -l or "list" option to _i_s_p_e_l_l is used to produce a  list
  37.      of misspelled words from the standard input.
  38.  
  39.      The -a is intended to be used from other programs through  a
  40.      pipe.   In  this  mode, _i_s_p_e_l_l expects the standard input to
  41.      consist of lines containing  single  words.   Each  word  is
  42.      read,  and  a single line is written to the standard output.
  43.      If the word was found in the main dictionary, or  your  per-
  44.      sonal dictionary, then the line contains only a '*'.  If the
  45.      word was found through suffix removal, then  the  line  con-
  46.      tains a '+', a space, and the root word.  If the word is not
  47.      in the dictionary, but there are near misses, then the  line
  48.      contains  an  '&',  a  space,  and a list of the near misses
  49.      separated by spaces.  Also, each near  miss  is  capitalized
  50.      the  same  as the input words.  Finally, if the word neither
  51.      appears in the dictionary, and there  are  no  near  misses,
  52.      then  the line contains only a '#'.  This mode is also suit-
  53.      able for interactive use when you want  to  figure  out  the
  54.      spelling  of  a single word.  (These characters are the same
  55.      as the codes that the real spell program uses.)
  56.  
  57.      When in the -a mode, _i_s_p_e_l_l will also accept lines of single
  58.      words  prefixed with either a '*' or a '@'.  A line starting
  59.      with '*' tells _i_s_p_e_l_l to insert the  word  into  the  user's
  60.  
  61.  
  62.  
  63. Sun Release 3.2         Last change: MIT                        1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ISPELL(local)     UNKNOWN SECTION OF THE MANUAL     ISPELL(local)
  71.  
  72.  
  73.  
  74.      dictionary (simular to the I command).  A line starting with
  75.      '@' causes _i_s_p_e_l_l to accept this word in the future (simular
  76.      to the A command).
  77.  
  78. FILES
  79.      /usr/local/lib/ispell.hash
  80.      $HOME/ispell.words
  81.  
  82. BUGS
  83.      It takes about five seconds for _i_s_p_e_l_l to read in  the  hash
  84.      table.
  85.  
  86.      Perhaps more than ten choices should  be  allowed  for  near
  87.      misses.
  88.  
  89.      The hash table is stored as a quarter-megabyte array,  so  a
  90.      PDP-11 version does not seem likely.
  91.  
  92.      _I_s_p_e_l_l should understand more _t_r_o_f_f syntax,  and  deal  more
  93.      intelligently with contractions.
  94.  
  95. AUTHOR
  96.      Pace Willisson (pace@mit-vax)
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. Sun Release 3.2         Last change: MIT                        2
  130.  
  131.  
  132.  
  133.